(* Content-type: application/vnd.wolfram.mathematica *)

(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)

(* CreatedBy='Mathematica 10.4' *)

(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[       158,          7]
NotebookDataLength[     14236,        447]
NotebookOptionsPosition[     10790,        345]
NotebookOutlinePosition[     13118,        405]
CellTagsIndexPosition[     13033,        400]
WindowTitle->FCCompareResults
WindowFrame->Normal*)

(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[GridBox[{
   {Cell["FEYN CALC SYMBOL", "PacletNameCell"], Cell[TextData[Cell[BoxData[
     ActionMenuBox[
      FrameBox[
       InterpretationBox[Cell[TextData[{
         "URL",
         StyleBox[" \[FilledDownTriangle]", "AnchorBarArrow",
          StripOnInput->False]
        }]],
        TextCell[
         Row[{"URL", 
           Style[" \[FilledDownTriangle]", "AnchorBarArrow"]}]]],
       StripOnInput->False], {"\<\"FeynCalc/ref/FCCompareResults\"\>":>
      None, "\<\"Copy Wolfram Documentation Center URL\"\>":>
      Module[{DocumentationSearch`Private`nb$}, 
       DocumentationSearch`Private`nb$ = NotebookPut[
          Notebook[{
            Cell["FeynCalc/ref/FCCompareResults"]}, Visible -> False]]; 
       SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
       FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
       NotebookClose[DocumentationSearch`Private`nb$]; Null], 
      Delimiter, "\<\"Copy web URL\"\>":>
      Module[{DocumentationSearch`Private`nb$}, 
       DocumentationSearch`Private`nb$ = NotebookPut[
          Notebook[{
            Cell[
             BoxData[
              MakeBoxes[
               Hyperlink[
               "http://reference.wolfram.com/language/FeynCalc/ref/\
FCCompareResults.html"], StandardForm]], "Input", TextClipboardType -> 
             "PlainText"]}, Visible -> False]]; 
       SelectionMove[DocumentationSearch`Private`nb$, All, Notebook]; 
       FrontEndTokenExecute[DocumentationSearch`Private`nb$, "Copy"]; 
       NotebookClose[DocumentationSearch`Private`nb$]; 
       Null], "\<\"Go to web URL\"\>":>FrontEndExecute[{
        NotebookLocate[{
          URL[
           StringJoin[
            If[
             TrueQ[DocumentationBuild`Make`Private`wsmlinkQ$96338], 
             "http://reference.wolfram.com/system-modeler/", 
             "http://reference.wolfram.com/language/"], 
            "FeynCalc/ref/FCCompareResults", ".html"]], None}]}]},
      Appearance->None,
      MenuAppearance->Automatic,
      MenuStyle->"URLMenu"]],
     LineSpacing->{1.4, 0}]], "AnchorBar"]}
  }]], "AnchorBarGrid",
 GridBoxOptions->{GridBoxItemSize->{"Columns" -> {
     Scaled[0.65], {
      Scaled[0.34]}}, "ColumnsIndexed" -> {}, "Rows" -> {{1.}}, 
   "RowsIndexed" -> {}}},
 CellID->1],

Cell[TextData[{
 Cell["FCCompareResults", "ObjectName"],
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{8, 0}],
    CacheGraphics->False],
   Spacer[8]]]],
 Cell[BoxData[""], "ObjectNameTranslation"]
}], "ObjectNameGrid"],

Cell[CellGroupData[{

Cell[BoxData[GridBox[{
   {"", Cell[TextData[{
     Cell[BoxData[
      RowBox[{"FCCompareResults", "[", 
       RowBox[{
        RowBox[{"{", 
         RowBox[{"res1", ",", "res2", ",", "..."}], "}"}], ",", 
        RowBox[{"{", 
         RowBox[{"res1Known", ",", "res2Known", ",", "..."}], "}"}]}], "]"}]],
       "InlineFormula"],
     " \[LineSeparator]compares the given list of expression {res1,res2,...} \
to the list of expressions {res1Known,res2Known,...} that represenet the \
correct results. This is handy for checking both intermediate and final \
results of calculations, where you know what should come out at the end."
    }]]}
  }]], "Usage",
 GridBoxOptions->{
 GridBoxBackground->{
  "Columns" -> {{None}}, "ColumnsIndexed" -> {}, "Rows" -> {{None}}, 
   "RowsIndexed" -> {}}},
 CellID->982511436],

Cell[CellGroupData[{

Cell[TextData[Cell[BoxData[
 ButtonBox[Cell[TextData[{
   Cell[BoxData[
    InterpretationBox[
     StyleBox[
      GraphicsBox[{},
       BaselinePosition->Baseline,
       ImageSize->{6, 0}],
      CacheGraphics->False],
     Spacer[6]]]],
   "Details"
  }], "NotesFrameText"],
  Appearance->{Automatic, None},
  BaseStyle->None,
  ButtonFunction:>(FrontEndExecute[{
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], All, ButtonCell], 
     FrontEndToken["OpenCloseGroup"], 
     FrontEnd`SelectionMove[
      FrontEnd`SelectedNotebook[], After, CellContents]}]& ),
  Evaluator->None,
  Method->"Preemptive"]]]], "NotesSection",
 WholeCellGroupOpener->True,
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->890459400],

Cell["", "SectionHeaderSpacer"],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"Options", "[", "FCCompareResults", "]"}]], "Input",
 CellLabel->"In[795]:=",
 CellID->1616328053],

Cell[BoxData[
 FormBox[
  RowBox[{"{", 
   RowBox[{
    RowBox[{"Differences", "\[Rule]", "False"}], ",", 
    RowBox[{"ExpandScalarProduct", "\[Rule]", "True"}], ",", 
    RowBox[{"Factoring", "\[Rule]", "Factor"}], ",", 
    RowBox[{"FeynCalcInternal", "\[Rule]", "False"}], ",", 
    RowBox[{"Function", "\[Rule]", 
     RowBox[{"{", 
      RowBox[{
       RowBox[{
        RowBox[{"Print", "[", 
         RowBox[{
          StyleBox["#1", "Text",
           StripOnInput->False,
           FontWeight->Bold], ",", "\<\" \"\>", ",", 
          RowBox[{"If", "[", 
           RowBox[{
            RowBox[{"TrueQ", "[", "#4", "]"}], ",", 
            RowBox[{"Style", "[", 
             RowBox[{"#2", ",", "\<\"Text\"\>", ",", 
              RowBox[{"Darker", "[", "Green", "]"}], ",", "Bold"}], "]"}], 
            ",", 
            RowBox[{"Style", "[", 
             RowBox[{"#3", ",", "\<\"Text\"\>", ",", "Red", ",", "Bold"}], 
             "]"}]}], "]"}]}], "]"}], "&"}], ",", 
       RowBox[{
        RowBox[{"WriteString", "[", 
         RowBox[{"\<\"stdout\"\>", ",", 
          
          RowBox[{"\<\"\[RawEscape][1m\"\>", "<>", "#1", 
           "<>", "\<\"\[RawEscape][0m \"\>", "<>", 
           RowBox[{"If", "[", 
            RowBox[{
             RowBox[{"TrueQ", "[", "#4", "]"}], ",", 
             
             RowBox[{"\<\"\[RawEscape][1m \[RawEscape][32m\"\>", "<>", "#2", 
              "<>", "\<\"\[RawEscape][0m \[RawEscape][0;39m\"\>"}], ",", 
             
             RowBox[{"\<\"\[RawEscape][1m \[RawEscape][31m\"\>", "<>", "#3", 
              "<>", "\<\"\[RawEscape][0m \[RawEscape][0;39m\"\>"}]}], "]"}], 
           "<>", "\<\"\\n\"\>"}]}], "]"}], "&"}]}], "}"}]}], ",", 
    RowBox[{"Interrupt", "\[Rule]", 
     RowBox[{"{", 
      RowBox[{
       RowBox[{"Hold", "[", 
        RowBox[{"Abort", "[", "]"}], "]"}], ",", "Automatic"}], "}"}]}], ",", 
    
    RowBox[{"Text", "\[Rule]", 
     RowBox[{"{", 
      RowBox[{"\<\"Check of the results:\"\>", 
       ",", "\<\"The results agree.\"\>", 
       ",", "\<\"The results disagree.\"\>"}], "}"}]}]}], "}"}], 
  TraditionalForm]], "Output",
 ImageSize->{513, 130},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[795]=",
 CellID->267039424]
}, Open  ]]
}, Closed]]
}, Open  ]],

Cell[CellGroupData[{

Cell[TextData[{
 Cell[BoxData[
  InterpretationBox[
   StyleBox[
    GraphicsBox[{},
     BaselinePosition->Baseline,
     ImageSize->{6, 0}],
    CacheGraphics->False],
   Spacer[6]]]],
 "Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "PrimaryExamplesSection",
 WholeCellGroupOpener->True,
 CellTags->"PrimaryExamplesSection",
 CellID->1612629140],

Cell[CellGroupData[{

Cell[TextData[{
 "Basic Examples",
 "\[NonBreakingSpace]\[NonBreakingSpace]",
 Cell["(1)", "ExampleCount"]
}], "ExampleSection", "ExampleSection",
 WholeCellGroupOpener->True,
 CellID->334112156],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FCCompareResults", "[", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{"4", ",", "4"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{
     RowBox[{"2", "^", "2"}], ",", 
     RowBox[{"8", "/", "2"}]}], "}"}]}], "]"}]], "Input",
 CellLabel->"In[1]:=",
 CellID->231612524],

Cell[BoxData[
 FormBox[
  InterpretationBox[
   RowBox[{
    StyleBox["\<\"Check of the results:\"\>", "Text",
     StripOnInput->False,
     FontWeight->Bold], "\[InvisibleSpace]", "\<\" \"\>", "\[InvisibleSpace]", 
    StyleBox["\<\"The results agree.\"\>", "Text",
     StripOnInput->False,
     FontWeight->Bold,
     FontColor->RGBColor[0, 
       Rational[2, 3], 0],
     $CellContext`LineColor -> RGBColor[0, 
       Rational[2, 3], 0],
     $CellContext`FrontFaceColor -> RGBColor[0, 
       Rational[2, 3], 0],
     $CellContext`BackFaceColor -> RGBColor[0, 
       Rational[2, 3], 0],
     $CellContext`GraphicsColor -> RGBColor[0, 
       Rational[2, 3], 0]]}],
   SequenceForm[
    Style["Check of the results:", "Text", Bold], " ", 
    Style["The results agree.", "Text", 
     RGBColor[0, 
      Rational[2, 3], 0], Bold]],
   Editable->False], TraditionalForm]], "Print",
 CellLabel->"During evaluation of In[796]:=",
 CellID->1402511861],

Cell[BoxData[
 FormBox["True", TraditionalForm]], "Output",
 ImageSize->{31, 14},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[1]=",
 CellID->655015259]
}, Open  ]],

Cell[CellGroupData[{

Cell[BoxData[
 RowBox[{"FCCompareResults", "[", 
  RowBox[{
   RowBox[{"{", 
    RowBox[{"3", ",", "5"}], "}"}], ",", 
   RowBox[{"{", 
    RowBox[{
     RowBox[{"2", "^", "2"}], ",", 
     RowBox[{"8", "/", "2"}]}], "}"}]}], "]"}]], "Input",
 CellLabel->"In[2]:=",
 CellID->102291710],

Cell[BoxData[
 FormBox[
  InterpretationBox[
   RowBox[{
    StyleBox["\<\"Check of the results:\"\>", "Text",
     StripOnInput->False,
     FontWeight->Bold], "\[InvisibleSpace]", "\<\" \"\>", "\[InvisibleSpace]", 
    StyleBox["\<\"The results disagree.\"\>", "Text",
     StripOnInput->False,
     FontWeight->Bold,
     FontColor->RGBColor[1, 0, 0],
     $CellContext`LineColor -> RGBColor[1, 0, 0],
     $CellContext`FrontFaceColor -> RGBColor[1, 0, 0],
     $CellContext`BackFaceColor -> RGBColor[1, 0, 0],
     $CellContext`GraphicsColor -> RGBColor[1, 0, 0]]}],
   SequenceForm[
    Style["Check of the results:", "Text", Bold], " ", 
    Style["The results disagree.", "Text", 
     RGBColor[1, 0, 0], Bold]],
   Editable->False], TraditionalForm]], "Print",
 CellLabel->"During evaluation of In[797]:=",
 CellID->1472450406],

Cell[BoxData[
 FormBox["False", TraditionalForm]], "Output",
 ImageSize->{34, 14},
 ImageMargins->{{0, 0}, {0, 0}},
 ImageRegion->{{0, 1}, {0, 1}},
 CellLabel->"Out[2]=",
 CellID->196668672]
}, Open  ]]
}, Open  ]]
}, Open  ]],

Cell[" ", "FooterCell"]
},
Saveable->False,
ScreenStyleEnvironment->"Working",
WindowSize->{725, 750},
WindowMargins->{{-10, Automatic}, {Automatic, -8}},
WindowTitle->"FCCompareResults",
TaggingRules->{
 "ModificationHighlight" -> False, "ColorType" -> "SymbolColor", "LinkTrails" -> 
  GridBox[{{
      RowBox[{
        ButtonBox[
        "FeynCalc", ButtonData -> "paclet:FeynCalc/guide/FeynCalc", 
         BaseStyle -> {"Link", "DockedLinkTrail"}]}]}}, ColumnAlignments -> 
    Left], "HasOptions" -> False, "ExampleCounter" -> 1, "NeedPlatMsgIn" -> 
  None, "RootCaptions" -> "", 
  "Metadata" -> {
   "built" -> "{2020, 6, 20, 19, 5, 10.235012}", 
    "history" -> {"9.3", "", "", ""}, "context" -> "FeynCalc`", 
    "keywords" -> {}, "specialkeywords" -> {}, 
    "tutorialcollectionlinks" -> {}, "index" -> True, "label" -> 
    "Feyn Calc Symbol", "language" -> "en", "paclet" -> "FeynCalc", "status" -> 
    "None", "summary" -> 
    "FCCompareResults[{res1, res2, ...}, {res1Known, res2Known, ...}] \
compares the given list of expression {res1,res2,...} to the list of \
expressions {res1Known,res2Known,...} that represenet the correct results. \
This is handy for checking both intermediate and final results of \
calculations, where you know what should come out at the end.", 
    "synonyms" -> {}, "tabletags" -> {}, "title" -> "FCCompareResults", 
    "titlemodifier" -> "", "windowtitle" -> "FCCompareResults", "type" -> 
    "Symbol", "uri" -> "FeynCalc/ref/FCCompareResults"}, 
  "SearchTextTranslated" -> ""},
CellContext->"Global`",
FrontEndVersion->"10.4 for Linux x86 (64-bit) (April 11, 2016)",
StyleDefinitions->Notebook[{
   Cell[
    StyleData[
    StyleDefinitions -> FrontEnd`FileName[{"Wolfram"}, "Reference.nb"]]], 
   Cell[
    StyleData["Input"], CellContext -> "Global`"], 
   Cell[
    StyleData["Output"], CellContext -> "Global`"]}, Visible -> False, 
  FrontEndVersion -> "10.4 for Linux x86 (64-bit) (April 11, 2016)", 
  StyleDefinitions -> "Default.nb"]
]
(* End of Notebook Content *)

(* Internal cache information *)
(*CellTagsOutline
CellTagsIndex->{
 "PrimaryExamplesSection"->{
  Cell[7304, 216, 388, 15, 31, "PrimaryExamplesSection",
   CellTags->"PrimaryExamplesSection",
   CellID->1612629140]}
 }
*)
(*CellTagsIndex
CellTagsIndex->{
 {"PrimaryExamplesSection", 12889, 393}
 }
*)
(*NotebookFileOutline
Notebook[{
Cell[588, 21, 2305, 53, 53, "AnchorBarGrid",
 CellID->1],
Cell[2896, 76, 293, 11, 45, "ObjectNameGrid"],
Cell[CellGroupData[{
Cell[3214, 91, 818, 20, 119, "Usage",
 CellID->982511436],
Cell[CellGroupData[{
Cell[4057, 115, 738, 24, 31, "NotesSection",
 CellGroupingRules->{"SectionGrouping", 50},
 CellID->890459400],
Cell[4798, 141, 31, 0, 70, "SectionHeaderSpacer"],
Cell[CellGroupData[{
Cell[4854, 145, 121, 3, 70, "Input",
 CellID->1616328053],
Cell[4978, 150, 2265, 59, 151, "Output",
 CellID->267039424]
}, Open  ]]
}, Closed]]
}, Open  ]],
Cell[CellGroupData[{
Cell[7304, 216, 388, 15, 31, "PrimaryExamplesSection",
 CellTags->"PrimaryExamplesSection",
 CellID->1612629140],
Cell[CellGroupData[{
Cell[7717, 235, 195, 6, 26, "ExampleSection",
 CellID->334112156],
Cell[CellGroupData[{
Cell[7937, 245, 285, 10, 27, "Input",
 CellID->231612524],
Cell[8225, 257, 954, 27, 24, "Print",
 CellID->1402511861],
Cell[9182, 286, 189, 6, 35, "Output",
 CellID->655015259]
}, Open  ]],
Cell[CellGroupData[{
Cell[9408, 297, 285, 10, 27, "Input",
 CellID->102291710],
Cell[9696, 309, 835, 21, 24, "Print",
 CellID->1472450406],
Cell[10534, 332, 190, 6, 35, "Output",
 CellID->196668672]
}, Open  ]]
}, Open  ]]
}, Open  ]],
Cell[10763, 343, 23, 0, 41, "FooterCell"]
}
]
*)

(* End of internal cache information *)

